﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Crucible.Models
{
    public class UserData
    {

        [Key, ForeignKey("User")]
        public virtual int UserId { get; set; }

        public virtual UserProfile User { get; set; }

        [Required]
        [EmailAddress]
        public string EmailAddress { get; set; }
    }
}